<?php

namespace App\Console\Commands\Fee;

use App\Console\Commands\Traits\ExcelCommandTrait;
use Illuminate\Console\Command;

class CheckImportShopStartBusiness extends Command
{

    use ExcelCommandTrait;

    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'fee:check-import-shop-start-business';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = '检查门店的到期时间与开业时间是否一致';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        $url = 'https://file.51kuafu.com/be/9e/586b45e5ce9d231c19cd1961e09b0aac2182cc3f6cdb50eb914994575e7b.xlsx';

        $this->excelImport(\App\Service\Fee\Import\CheckImportShopStartBusiness::class, $url);
    }
}
